use std::os::raw::{c_char, c_void};

#[link(name = "RBRHacker", kind = "static")]
extern "C" {
    pub fn RBR_InitPlugin(rbrgame: *mut c_void) -> *mut c_void;
    pub fn RBR_InitLogger(logfile: *const c_char);
    pub fn RBR_SetInitialize(func: extern "C" fn() -> *const c_char);
    pub fn RBR_SetOnGameModeChanged(func: extern "C" fn());
    pub fn RBR_ReadGameMode() -> i32;
    pub fn RBR_SetOnEndScene(func: extern "C" fn());
}
